package com._520it.crm.service;

import com._520it.crm.domain.PaymentConfirm;

import java.util.List;

public interface IPaymentConfirmService {
    int deleteByPrimaryKey(Long id);

    int insert(PaymentConfirm pc);

    PaymentConfirm selectByPrimaryKey(Long id);

    List<PaymentConfirm> selectAll();

    int updateByPrimaryKey(PaymentConfirm record);

    /**
     * 缴费成功,更新保单状态及备注
     * @param orderBillId 保单id
     */
    void confirm(Long orderBillId);

    /**
     * 缴费失败,更新保单状态及备注
     * @param orderBillId 保单id
     */
    void confirmFailed(Long orderBillId);
}
